<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>




<div style="width: 200px;height: 100px;border: 1px solid red">
    {$ggg.0.create_time}
</div>





{foreach $ggg as $k=>$v}
<div style="width: 200px;height: 100px;border: 1px solid red">
    {$v.create_time}
</div>
{/foreach}

{if condition="($bb == 1)"}
<div style="width: 200px;height: 100px;border: 1px solid gold"></div>
{elseif condition="$bb == 2"/}
<div style="width: 200px;height: 100px;border: 1px solid black"></div>
{else /}
<div style="width: 200px;height: 100px;border: 1px solid blue"></div>
{/if}


{switch $bb }
{case value="1"}
<div style="width: 200px;height: 100px;border: 1px solid gold"></div>
{/case}
{case value="2"}
<div style="width: 200px;height: 100px;border: 1px solid black"></div>
{/case}
{default /}
<div style="width: 200px;height: 100px;border: 1px solid blue"></div>
{/switch}



</body>
</html>